package com.bat.feign;

import com.bat.feign.vo.res.TestResVo;
import com.bat.util.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zpf
 */
@RequestMapping("/")
@FeignClient("nacos-client")
@Api(tags = "测试feign")
public interface TestFeign {
    /**
     * @return
     */
    @ApiOperation("feign流程")
    @GetMapping("/feign")
    R<TestResVo> testFeign();

}
